package com.Android.Intr;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.TextView;

public class BlogViewActivity extends Activity{
	
	TextView titleText;
	TextView blogText;
	TextView authorText;
	TextView dateText;
	TextView timeText;
	Button backButton;

	public void onCreate(Bundle savedInstanceState) {
		this.requestWindowFeature(Window.FEATURE_NO_TITLE);
        super.onCreate(savedInstanceState);
        setContentView(R.layout.blogviewer);	
        
        Intent myIntent = getIntent();
        
        titleText = (TextView) findViewById(R.id.blogViewerTitle);
        titleText.setText(myIntent.getStringExtra("title"));
        
        blogText = (TextView) findViewById(R.id.blogViewerContent);
        blogText.setText(myIntent.getStringExtra("content"));
        
        authorText = (TextView) findViewById(R.id.blogViewerAuthor);
        authorText.setText(myIntent.getStringExtra("author"));
        
        dateText = (TextView) findViewById(R.id.blogViewerDate);
        dateText.setText(myIntent.getStringExtra("added"));
        
   
    }
}
